/*
* @Author: root
* @Date:   2017-11-05 19:27:16
* @Last Modified by:   root
* @Last Modified time: 2017-12-09 14:41:08
*/
'user strict'
require('./index.css');
require('page/common/nav-simple/index.js');
var  _utils = require('util/util.js');

$(function(){
	 var type       = _utils.getUrlParam('type') || 'default',
        $element    = $('.' + type + '-success');
   if(type === 'payment'){
   	var orderNumber = _utils.getUrlParam('orderNumber');
   	var $orderNumber = $element.find('.order-number');
   	$element.find('.order-number').attr('href',$orderNumber.attr('href') + orderNumber);
   }

		$element.show();
})